Print Command Registry entry
Specifies a command used to process anything sent to a printer.
This entry specifies a command used to process anything in the Vitalware system sent to the printer. As this is the final step in the print process that the data goes through, this command must be generic enough to handle all data to be printed.
Typically this will involve the data being sent through texcat
and piped to the appropriate printer; however this is by no means the only possible option. If your organi
Usage
This Registry entry is assigned at the system level only:
Key | System |
---|---|
Key 1 | System |
Key 2 | Setting |
Key 3 | Print |
Key 4 | Print Command |
Value | command |
System | Setting | Print | Print Command | command |
Example
This entry defines a Print Command for a system using a laser printer:
Key | Setting |
---|---|
Key 1 | System |
Key 2 | Setting |
Key 3 | Print |
Key 4 | Print Command |
Value | |texcat -olaser %s lp -oraw -d%s |
This entry specifies that data is sent through texcat
, an Axiell (former KE) version of the Unix cat
command. The -olaser
option tells texcat
to output the data in a format for a laser printer. The first %s
gets substituted for a pipe ( | ) - this is because Registry entries are pipe delimited and hence a pipe in the Value field is not allowed. The output of texcat
is piped to the system specific Print Command
with the correct flags; in this example it is lp -oraw -d%s